<template>
  <div class="header">
    <router-link class="header_box left" to="/food/foodBarbecue">
      <span class="iconfont back">&#xe665;</span>
    </router-link>
    <div class="header_box mid">
      <span>商家详情</span>
    </div>
    <div class="header_box right">
      <div class="right one">
        <span class="iconfont shoucang">&#xe603;</span>
        <span class="title">收藏</span>
      </div>
      <div class="right two">
        <span class="iconfont daohang">&#xe63e;</span>
        <span class="title">导航</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "RecommedHeader",
  data: function() {
    return {};
  }
};
</script>

<style scoped>
.header {
  height: 1.02rem;
  color: #fff;
  background: #06c1ae;
  border-bottom: 1px solid #21897d;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header_box {
  display: inline;
}
.header_box.left {
  width: 20%;
  display: flex;
  justify-content: flex-start;
}
.iconfont.back {
  color: #fff;
  font-size: 0.6rem;
  padding-left: 0.2rem;
}
.header_box.mid {
  font-size: 0.35rem;
  width: 50%;
}
.header_box.right {
  width: 30%;
  display: flex;
  justify-content: flex-end;
}
.right {
  display: inline;
  padding-right: 0.15rem;
}
.right.one {
  padding-right: 0.4rem;
}
.right.one span {
  display: block;
}
.right.two span {
  display: block;
}
.iconfont.shoucang {
  font-size: 0.45rem;
}
.iconfont.daohang {
  padding-top: 0.16rem;
  font-size: 0.3rem;
}
.title {
  font-size: 0.02rem;
}
</style>